<?php
namespace app\common\validate;


use think\Validate;

class Exhibition extends Validate {
    protected $rule = [
        'title'=>'require',
        'cover'=>'require',
        'content'=>'require',
        'exhibition_time'=>'require'
    ];

    protected $message = [
        'title.require' => '标题不能为空',
        'cover.require' => '封面图不能为空',
        'content.require' => '内容不能为空',
        'exhibition_time.require' => '请填写团购时间'
    ];
}